package com.sto.stoapp.http.response;

import android.annotation.SuppressLint;

import java.text.SimpleDateFormat;

/**
 * 同步时间返回
 * 
 * 
 * 
 */
public class TimeSynchResponse {
	public String sessionId;
	public String mty;
	public String resMessage;
	public String systemTime;

	@SuppressLint("SimpleDateFormat")
	public String getLongTime() {

		try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			return sdf.parse(systemTime).getTime() + "";
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}
	}
}
